@import "style-variable.scss";


.main {
    justify-content: space-between;

    &-article {
        &-left {
            width: 870px;
            /*    .details {
                border-top: 4px solid;
                border-image: repeating-linear-gradient(45deg, #ff000060 0px, #ff000060 20px, #ffa50060 20px, #ffa50060 40px, #ffff0060 40px, #ffff0060 60px, #00ff0060 60px, #00ff0060 80px, #007fff60 80px, #007fff60 100px, #0000ff60 100px, #8b00ff60 120px) 4 0 0 0;
            } */

            &-title {
                height: 165px;
                border-top: 4px solid;
                border-image: repeating-linear-gradient(45deg,
                        #ff000060 0px,
                        #ff000060 20px,
                        #ffa50060 20px,
                        #ffa50060 40px,
                        #ffff0060 40px,
                        #ffff0060 60px,
                        #00ff00 60px,
                        #00ff00 80px,
                        #007fff 80px,
                        #007fff 100px,
                        #0000ff 100px,
                        #8b00ff 120px) 4 0 0 0;

                p {
                    display: block;
                    align-items: center;
                    padding: 15px 20px;
                    height: auto;
                    line-height: 1.5;
                    overflow: hidden;
                    text-align: center;
                    font-size: 30px;
                    color: #333;
                    font-weight: 600;
                    cursor: pointer;

                    &:hover {
                        color: #ff5722
                    }
                }

                &-info-list {
                    width: 500px;
                    margin: 0 auto;
                    padding: 5px 0;
                    justify-content: space-between;

                    a {
                        display: inline-block;
                        text-align: left;
                        margin-right: 10px;
                        height: 25px;
                        line-height: 25px;
                    }

                }


            }


            &-info {
                height: auto;
                padding: 10px;

                &-tag {
                    line-height: 25px;

                    span {
                        width: 45px;
                        display: block;
                        overflow: hidden;
                        height: 25px;
                        padding: 0 5px;
                        line-height: 25px;
                        margin: 2px 0;
                    }

                    &-list {
                        flex-wrap: wrap;
                        flex-direction: row;
                        overflow: hidden;
                        justify-content: flex-start;
                        width: 100%;


                        @each $key,
                        $value in $taglist {
                            a:nth-child(7n+#{$key}) {
                                background-color: $value
                            }
                        }

                        a {
                            display: block;
                            overflow: hidden;
                            height: 25px;
                            padding: 0 5px;
                            line-height: 25px;
                            margin: 2px 3px;
                            color: $bgwhite;
                        }
                    }
                }
            }


            &-line {
                height: 15px;
                border-bottom: 1px solid #ff5722;
                position: relative;

                &-position {
                    position: absolute;
                    cursor: pointer;
                    right: 0;
                    bottom: -2px;
                    width: 80px;
                    height: 3px;
                    background-color: #f42ddc;
                    transition: width 1.5s;
                    -webkit-transition: width 1.5s;

                    &:hover {
                        width: 100%;
                    }

                }
            }

            &-other {
                justify-content: space-between;
                height: 55px;
                line-height: 55px;

                &-a {
                    padding: 0 10px;

                    &:hover {
                        color: $hovercolor;
                    }
                }
            }


        }

        &-right {
            width: 300px;
            height: 950px;

        }


    }

}
/* 
动画效果
.comment-keyframes {
    -webkit-animation: commentOpen 200ms ease-in-out;
    animation: commentOpen 200ms ease-in-out;
}

@-webkit-keyframes commentOpen {
    0% {
        width: 10%;
    }

    50% {
        width: 50%;
    }

    100% {
        width: 100%
    }
}

@keyframes commentOpen {
    0% {
        width: 10%;
    }

    50% {
        width: 50%;
    }

    100% {
        width: 100%
    }
} */